#ifndef _ASTEROID_H_
#define _ASTEROID_H_

#include "Entity.h"
#include "AsteroidType.h"


namespace model
{
class Asteroid : public Entity
{
public:
	Asteroid(AsteroidType*);
	Asteroid(int id, AsteroidType* type, const Point &position, double direction, double rotation, double velocity);

	virtual ~Asteroid(void);

	AsteroidType* getType(void);

	virtual double getVelocity();

	virtual string getImagePath(void);
	virtual void   setImagePath(string);
	void    updatePositions(double);
	int getCrashCount(void);
	double getCurrentTime(void);
	void setCurrentTime(double currentTime);
	void setCrashCount(int crashCount);
	void   setWidth(int);
	int    getWidth(void);
	void   setHeight(int);
	int    getHeight(void);
	
private:
	AsteroidType* type;	
	int crashCount;
	int parentId;
	int width;
	int height;
};
};

#endif
